package com.infra.micro.oss.domain.service;

import javax.servlet.http.HttpServletResponse;

public interface PreviewService {
    void previewByFileId(Long fileId, HttpServletResponse response) throws Exception;

    void previewByBizId(Long bizId, HttpServletResponse response) throws Exception;

    void previewThumbnailByFileId(Long fileId, String thumbnail, HttpServletResponse response) throws Exception;

    void previewThumbnailByBizId(Long bizId, String thumbnail, HttpServletResponse response) throws Exception;
}
